package com.itheima.d2_reflect;



public class Test5Frame {
    public static void main(String[] args) throws Exception {

        Student1 student1 = new Student1("张三", 18, '男', 180, "123456");
        Teacher1 teacher1 = new Teacher1("李四", 30);

        ObjectFrame.saveObject(student1);
        ObjectFrame.saveObject(teacher1);

    }
}
